package com.bharat.cm.web;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LoginController {

	private final Logger log = Logger.getLogger(this.getClass());

	public LoginController() {
	}

	@RequestMapping(value = "/login", method = RequestMethod.GET)
	public ModelAndView prepareLoginPage() {
		log.info("////////////////////////////Entering prepareLoginPage method");
		ModelAndView mav = new ModelAndView();

		mav.setViewName("loginForm");
		return mav;
	}

}
